<html>
<head>
<title>User Agent</title>
</head>
<body>
<p>User agent is: <span id="ua">Unknown</span>.</p>
<script>document.getElementById('ua').textContent = navigator.userAgent</script>
</body>
</html>
